<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>注册</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <link rel="stylesheet" type="text/css" href="/css/css.css">
    <link rel="stylesheet" type="text/css" href="/jsps/css/user/regist.css">
    <link rel="stylesheet" type="text/css" href="/jquery/validateform/css/style.css">
    <script type="text/javascript" src="/jquery/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/jquery/validateform/js/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" src="/js/common.js"></script>
    <script type="text/javascript" src="/jsps/js/user/regist.js"></script>
</head>

<body>
<div id="divMain">
    <div id="divTitle">
        <span id="spanTitle">新用户注册</span>
    </div>
    <div id="divBody">
        <form action="/loginAndRegister/regist.do" method="post" id="registForm">
            <input type="hidden" name="method" value="regist"/>
            <table id="tableForm">
                <tr>
                    <td class="tdText">用户名：</td>
                    <td class="tdInput">
                        <input class="inputClass" type="text" name="account" id="account"
                               datatype="s6-18" ajaxurl="/loginAndRegister/checkAccount.do" errormsg="用户名至少6个字符,最多18个字符！"/>
                    </td>
                    <td>
                        <div class="Validform_checktip"></div>
                    </td>
                </tr>
                <tr>
                    <td class="tdText">登录密码：</td>
                    <td>
                        <input class="inputClass" type="password" name="password" id="password"
                               datatype="s6-18" errormsg="密码至少6个字符,最多18个字符！"/>
                    </td>
                    <td>
                        <div class="Validform_checktip"></div>
                    </td>
                </tr>
                <tr>
                    <td class="tdText">确认密码：</td>
                    <td>
                        <input class="inputClass" type="password" name="repswd" id="repswd"
                               datatype="*" recheck="password" errormsg="两次输入的登录密码不一致"/>
                    </td>
                    <td>
                        <div class="Validform_checktip"></div>
                    </td>
                </tr>
                <tr>
                    <td class="tdText">Email：</td>
                    <td>
                        <input class="inputClass" type="text" name="email" id="email" datatype="e" errormsg="请输入正确的邮箱"/>
                    </td>
                    <td>
                        <div class="Validform_checktip"></div>
                    </td>
                </tr>
                <tr>
                    <td class="tdText">验证码：</td>
                    <td>
                        <input class="inputClass" type="text" name="verifyCode" id="verifyCode"
                               datatype="*" ajaxurl="/loginAndRegister/validateVerifyCode.do" errormsg="请输入正确的验证码"/>
                    </td>
                    <td>
                        <div class="Validform_checktip"></div>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <div id="divVerifyCode"><img id="imgVerifyCode" src="/loginAndRegister/getVerifyCode.do"/>
                        </div>
                    </td>
                    <td>
                        <label><a href="javascript: getNewImgCode()">换一张</a></label>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <input type="image" src="<c:url value='/images/regist1.jpg'/>" id="submitBtn"/>
                    </td>
                    <td>
                        <label></label>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>
</body>
</html>
	